﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网盘 - {{ filename }}</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }
        .header {
            background-color: #4CAF50;
            color: white;
            text-align: center;
            padding: 20px;
        }
        .container {
            margin: 20px;
        }
        .file-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        .file-info h2 {
            margin: 0;
        }
        .file-info p {
            color: #666;
        }
        .file-info a {
            margin-top: 15px;
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-size: 16px;
        }
        .file-info a:hover {
            background-color: #45a049;
        }
        .file-info .download-icon {
            margin-right: 10px;
        }
    </style>
</head>
<body>
    <div class="header">
        <h1>欢迎来到网盘</h1>
    </div>
    <div class="container">
        <div class="file-info">
            <h2>文件名称: {{ filename }}</h2>
            <p>文件类型: {{ filename.split('.')[-1].upper() }}</p>
            <a href="{{ caz }}" download>
                <i class="fas fa-download download-icon"></i> 下载文件
            </a>
        </div>
        <div class="file-info">
            <img src="/random-image" alt="描述图片的内容">
        </div>
    </div>
</body>
</html>
